package Entity;
/**
 * 
 * Entity: User.
 * contain User Entity properties along with getters and setters to each property.
 * Also contain constructors.
 *
 */
public class User {
	
	String ID;
	String FirstName;
	String LastName;
	String Password;
	/**
	 * User constructor (with parameters)
	 * With Extra Details
	 * @param iD user ID number (this is the username to login)
	 * @param firstName First name
	 * @param lastName Last name
	 * @param password password to login the system
	 */
	public User(String iD, String firstName, String lastName, String password) 
	{
		ID = iD;
		FirstName = firstName;
		LastName = lastName;
		Password = password;
	}
	
	/**
	 * User Constructor, with minimal (only required) details 
	 * @param iD user ID (this is username for login)
	 * @param password password to login
	 */
	public User(String iD, String password)
	{
		ID=iD;
		Password=password;
	}
	/**
	 * 
	 * @return User ID number (username)
	 */
	public String getID() {
		return ID;
	}
	/**
	 * 
	 * @param iD User ID number (username)
	 */
	public void setID(String iD) {
		ID = iD;
	}
	/**
	 * 
	 * @return user first name
	 */
	public String getFirstName() {
		return FirstName;
	}
	/**
	 * 
	 * @param firstName user first name
	 */
	public void setFirstName(String firstName) {
		FirstName = firstName;
	}
	/**
	 * 
	 * @return user last name
	 */
	public String getLastName() {
		return LastName;
	}
	/**
	 * 
	 * @param lastName user last name
	 */
	public void setLastName(String lastName) {
		LastName = lastName;
	}
	/**
	 * 
	 * @return user Password
	 */
	public String getPassword() {
		return Password;
	}
	/**
	 * 
	 * @param password user password
	 */
	public void setPassword(String password) {
		Password = password;
	}
	
	
	
	
	
}
